Optimal. Leaf size=187 \[ -\frac {b^3 c^3}{4 x}+\frac {1}{4} b^3 c^4 \tanh ^{-1}(c x)-\frac {b^2 c^2 \left (a+b \tanh ^{-1}(c x)\right )}{4 x^2}+b c^4 \left (a+b \tanh ^{-1}(c x)\right )^2-\frac {b c \left (a+b \tanh ^{-1}(c x)\right )^2}{4 x^3}-\frac {3 b c^3 \left (a+b \tanh ^{-1}(c x)\right )^2}{4 x}+\frac {1}{4} c^4 \left (a+b \tanh ^{-1}(c x)\right )^3-\frac {\left (a+b \tanh ^{-1}(c x)\right )^3}{4 x^4}+2 b^2 c^4 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (2-\frac {2}{1+c x}\right )-b^3 c^4 \text {PolyLog}\left (2,-1+\frac {2}{1+c x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.44, antiderivative size = 187, normalized size of antiderivative = 1.00, number of steps
used = 16, number of rules used = 8, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.571, Rules used = {6037, 6129,
331, 212, 6135, 6079, 2497, 6095} \begin {gather*} 2 b^2 c^4 \log \left (2-\frac {2}{c x+1}\right ) \left (a+b \tanh ^{-1}(c x)\right )-\frac {b^2 c^2 \left (a+b \tanh ^{-1}(c x)\right )}{4 x^2}+\frac {1}{4} c^4 \left (a+b \tanh ^{-1}(c x)\right )^3+b c^4 \left (a+b \tanh ^{-1}(c x)\right )^2-\frac {3 b c^3 \left (a+b \tanh ^{-1}(c x)\right )^2}{4 x}-\frac {\left (a+b \tanh ^{-1}(c x)\right )^3}{4 x^4}-\frac {b c \left (a+b \tanh ^{-1}(c x)\right )^2}{4 x^3}-b^3 c^4 \text {Li}_2\left (\frac {2}{c x+1}-1\right )+\frac {1}{4} b^3 c^4 \tanh ^{-1}(c x)-\frac {b^3 c^3}{4 x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 331
Rule 2497
Rule 6037
Rule 6079
Rule 6095
Rule 6129
Rule 6135
Rubi steps
\begin {align*} \int \frac {\left (a+b \tanh ^{-1}(c x)\right )^3}{x^5} \, dx &=-\frac {\left (a+b \tanh ^{-1}(c x)\right )^3}{4 x^4}+\frac {1}{4} (3 b c) \int \frac {\left (a+b \tanh ^{-1}(c x)\right )^2}{x^4 \left (1-c^2 x^2\right )} \, dx\\ &=-\frac {\left (a+b \tanh ^{-1}(c x)\right )^3}{4 x^4}+\frac {1}{4} (3 b c) \int \frac {\left (a+b \tanh ^{-1}(c x)\right )^2}{x^4} \, dx+\frac {1}{4} \left (3 b c^3\right ) \int \frac {\left (a+b \tanh ^{-1}(c x)\right )^2}{x^2 \left (1-c^2 x^2\right )} \, dx\\ &=-\frac {b c \left (a+b \tanh ^{-1}(c x)\right )^2}{4 x^3}-\frac {\left (a+b \tanh ^{-1}(c x)\right )^3}{4 x^4}+\frac {1}{2} \left (b^2 c^2\right ) \int \frac {a+b \tanh ^{-1}(c x)}{x^3 \left (1-c^2 x^2\right )} \, dx+\frac {1}{4} \left (3 b c^3\right ) \int \frac {\left (a+b \tanh ^{-1}(c x)\right )^2}{x^2} \, dx+\frac {1}{4} \left (3 b c^5\right ) \int \frac {\left (a+b \tanh ^{-1}(c x)\right )^2}{1-c^2 x^2} \, dx\\ &=-\frac {b c \left (a+b \tanh ^{-1}(c x)\right )^2}{4 x^3}-\frac {3 b c^3 \left (a+b \tanh ^{-1}(c x)\right )^2}{4 x}+\frac {1}{4} c^4 \left (a+b \tanh ^{-1}(c x)\right )^3-\frac {\left (a+b \tanh ^{-1}(c x)\right )^3}{4 x^4}+\frac {1}{2} \left (b^2 c^2\right ) \int \frac {a+b \tanh ^{-1}(c x)}{x^3} \, dx+\frac {1}{2} \left (b^2 c^4\right ) \int \frac {a+b \tanh ^{-1}(c x)}{x \left (1-c^2 x^2\right )} \, dx+\frac {1}{2} \left (3 b^2 c^4\right ) \int \frac {a+b \tanh ^{-1}(c x)}{x \left (1-c^2 x^2\right )} \, dx\\ &=-\frac {b^2 c^2 \left (a+b \tanh ^{-1}(c x)\right )}{4 x^2}+b c^4 \left (a+b \tanh ^{-1}(c x)\right )^2-\frac {b c \left (a+b \tanh ^{-1}(c x)\right )^2}{4 x^3}-\frac {3 b c^3 \left (a+b \tanh ^{-1}(c x)\right )^2}{4 x}+\frac {1}{4} c^4 \left (a+b \tanh ^{-1}(c x)\right )^3-\frac {\left (a+b \tanh ^{-1}(c x)\right )^3}{4 x^4}+\frac {1}{4} \left (b^3 c^3\right ) \int \frac {1}{x^2 \left (1-c^2 x^2\right )} \, dx+\frac {1}{2} \left (b^2 c^4\right ) \int \frac {a+b \tanh ^{-1}(c x)}{x (1+c x)} \, dx+\frac {1}{2} \left (3 b^2 c^4\right ) \int \frac {a+b \tanh ^{-1}(c x)}{x (1+c x)} \, dx\\ &=-\frac {b^3 c^3}{4 x}-\frac {b^2 c^2 \left (a+b \tanh ^{-1}(c x)\right )}{4 x^2}+b c^4 \left (a+b \tanh ^{-1}(c x)\right )^2-\frac {b c \left (a+b \tanh ^{-1}(c x)\right )^2}{4 x^3}-\frac {3 b c^3 \left (a+b \tanh ^{-1}(c x)\right )^2}{4 x}+\frac {1}{4} c^4 \left (a+b \tanh ^{-1}(c x)\right )^3-\frac {\left (a+b \tanh ^{-1}(c x)\right )^3}{4 x^4}+2 b^2 c^4 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (2-\frac {2}{1+c x}\right )+\frac {1}{4} \left (b^3 c^5\right ) \int \frac {1}{1-c^2 x^2} \, dx-\frac {1}{2} \left (b^3 c^5\right ) \int \frac {\log \left (2-\frac {2}{1+c x}\right )}{1-c^2 x^2} \, dx-\frac {1}{2} \left (3 b^3 c^5\right ) \int \frac {\log \left (2-\frac {2}{1+c x}\right )}{1-c^2 x^2} \, dx\\ &=-\frac {b^3 c^3}{4 x}+\frac {1}{4} b^3 c^4 \tanh ^{-1}(c x)-\frac {b^2 c^2 \left (a+b \tanh ^{-1}(c x)\right )}{4 x^2}+b c^4 \left (a+b \tanh ^{-1}(c x)\right )^2-\frac {b c \left (a+b \tanh ^{-1}(c x)\right )^2}{4 x^3}-\frac {3 b c^3 \left (a+b \tanh ^{-1}(c x)\right )^2}{4 x}+\frac {1}{4} c^4 \left (a+b \tanh ^{-1}(c x)\right )^3-\frac {\left (a+b \tanh ^{-1}(c x)\right )^3}{4 x^4}+2 b^2 c^4 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (2-\frac {2}{1+c x}\right )-b^3 c^4 \text {Li}_2\left (-1+\frac {2}{1+c x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.47, size = 295, normalized size = 1.58 \begin {gather*} -\frac {2 a^3+2 a^2 b c x+2 a b^2 c^2 x^2+6 a^2 b c^3 x^3+2 b^3 c^3 x^3-2 a b^2 c^4 x^4+2 b^2 \left (b c x \left (1+3 c^2 x^2-4 c^3 x^3\right )+a \left (3-3 c^4 x^4\right )\right ) \tanh ^{-1}(c x)^2-2 b^3 \left (-1+c^4 x^4\right ) \tanh ^{-1}(c x)^3+2 b \tanh ^{-1}(c x) \left (3 a^2+b^2 c^2 x^2 \left (1-c^2 x^2\right )+2 a b c x \left (1+3 c^2 x^2\right )-8 b^2 c^4 x^4 \log \left (1-e^{-2 \tanh ^{-1}(c x)}\right )\right )+3 a^2 b c^4 x^4 \log (1-c x)-3 a^2 b c^4 x^4 \log (1+c x)-16 a b^2 c^4 x^4 \log \left (\frac {c x}{\sqrt {1-c^2 x^2}}\right )+8 b^3 c^4 x^4 \text {PolyLog}\left (2,e^{-2 \tanh ^{-1}(c x)}\right )}{8 x^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 1.86, size = 1204, normalized size = 6.44
method | result | size |
derivativedivides | \(\text {Expression too large to display}\) | \(1204\) |
default | \(\text {Expression too large to display}\) | \(1204\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a + b \operatorname {atanh}{\left (c x \right )}\right )^{3}}{x^{5}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (a+b\,\mathrm {atanh}\left (c\,x\right )\right )}^3}{x^5} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________